﻿$controls/header()$
<script language="javascript" src="scripts/index.js"></script>
$controls/navigation()$
<div class="topinfo">
<div class="left">
<p>您的$Page.Credits.Credit0.Name$:&nbsp;<span class="t1">$Page.user.Credit0$</span> $Page.Credits.Credit0.Unit$,&nbsp;$Page.Credits.Credit1.Name$:&nbsp;<span class="t1">$Page.user.Credit1$</span>&nbsp;$Page.Credits.Credit0.Unit$,&nbsp;组别:&nbsp;<span class="t1">$Page.user.GroupName$</span> ,&nbsp;<a href="{url:favourite.aspx}">收藏夹</a></p>
<p><a href="{url:search.aspx?authorid=$Page.user.UID$&intable=both}">参与话题</a>&nbsp;-&nbsp;<a href="{url:abandon.aspx?action=markread}">标记已读</a>&nbsp;-&nbsp;上次来访:&nbsp;<span class="small t2">$LastVisitTime$</span></p>
</div>
<div class="right">
<p> 今日:<span class="small t1" title="今天帖子">$Statistic.TodayTopics$</span>&nbsp;&brvbar;&nbsp;昨日:<span class="small t4" title="昨日帖子">$Statistic.YestodayTopics$</span>&nbsp;&brvbar;&nbsp;主题: <span class="small t4">$Statistic.Topics$</span>&nbsp;&brvbar;&nbsp;回帖: <span class="small t4">$Statistic.Replies$</span></p>
<p><a href="{url:search.aspx?list=recent}" title="">最新帖子</a>&nbsp;-&nbsp;<a href="#" title="">排行榜</a>&nbsp;-&nbsp;会员总数: <span class="small t4">$Statistic.Members$</span></p>
</div>
</div>
<p class="partition"></p>
$if(Page.user.IsGuest)$
<div class="login an" id="login">
<script src="scripts/login.js"></script>
<form action="login.aspx" method="POST" name="LoginForm" id="LoginForm" onSubmit="return checklogin();">
<input type="hidden" name="Referrer" value="$Referrer$" />
<span>
<label>
<input name="type" type="radio" value="uid" class="smallbox" />
UID</label>
<label>
<input name="type" type="radio" value="name" class="smallbox" checked="checked" />
帐号</label>
</span> <span>
<input name="username" id="username" type="text" style="width:70px;" maxlength="50" class="input2" onBlur="this.className='input2'" onFocus="this.className='input1'" />
</span> <span>密码&nbsp;
<input name="password" id="password" type="password" maxlength="20" style="width:70px;ime-mode:disabled;" onselectstart="return false" class="input2" onBlur="this.className='input2'" onFocus="this.className='input1'" />
</span> <span>问题</span> <span>$controls/loginquestion()$</span> <span>答案</span> <span>
<input name="loginanswer" id="answer" type="text" class="input2" onBlur="this.className='input2'" onFocus="this.className='input1'" size="12" />
</span> $if(ShowVerifier)$<span>验证码</span> <span>
<input type='text' name='verification' style='width:30px;' class="input2" onBlur="this.className='input2'" onFocus="this.className='input1'" />
<script language='javascript'> document.write("<img src='verifier.aspx?time=", new Date(), "' alt='验证码图片, 看不清字符请点击刷新, 如果是加法运算, 填入计算结果'   style='cursor:hand' onclick=\"this.src = this.src.substring(0, this.src.indexOf('time=')) + 'time=' + new Date()\"/>"); </script>
</span>$endif$ <span>
<input type="checkbox" id="savedays" name="savedays" class="smallbox" value="30" />
<label for="savedays">记录</label>
<input type="submit" class="button" value="  登 录  " />
</span>
</form>
</div>
<p class="partition"></p>
$endif$

$if(HasBulletin)$
<div class="mainbulletin">
<div> $Bulletin$ </div>
</div>
<p class="partition"></p>
$endif$
$Categories:{c|
$controls/tableheader(
Caption="<a href='{url:index.aspx?categoryid=" +c.Id + "}'>" + c.CategoryName + "</a>", 
ElementId="category" + c.Id
)$
$if(c.Horizontal)$

<table cellspacing="0" class="inner">
$c.Rows:{r|
<tr class="forumtd">
$r.Cells:{b|
<td class="rowOne boardstyle$b.Id$">
$if(b.Empty)$
&nbsp;
$else$
$if(b.HasIcon)$<a href="{url:board.aspx?boardid=$b.Id$}"><img src="{IMGDIR}/$b.Icon$" alt="$b.BoardName$" /></a>$else$
$if(b.HasNew)$ <img src="{IMGDIR}/board_hasnew.gif" alt="有新帖" /> $else$ <img src="{IMGDIR}/board_nonnew.gif" alt="无新帖" /> $endif$
$endif$
$endif$</td>
<td class="rowTopic boardstyle$b.Id$" style="width:$c.Width$%;">$if(b.Empty)$&nbsp;$else$ <span class="t3"><a href="{url:board.aspx?boardid=$b.Id$}" title="$b.Description$">$b.BoardName$</a></span>&nbsp;$if(b.HasTodayNew)$<span class="small t1" title="今日新帖">($b.TodayPosts$)</span>$endif$<br />
主题: <span class="small t2">$b.Topics$</span>&nbsp;-&nbsp;回帖: <span class="small t2">$b.Replies$</span><br />
<div>标题:&nbsp;<span class="t2">$if(b.HasLastTopic)$<a href="{url:topic.aspx?topicid=$b.LastTopicId$&page=65535}" title="时间:$b.LastTopicTime$&#10会员:$if(b.HasLastTopic)$$b.LastTopicAuthor$$else$……$endif$">$b.LastTopicTitle$</a>$else$
……
$endif$</span></div>$endif$</td>
}$
</tr>
}$
</table>
$else$
<table cellspacing="0" class="inner">
<tr class="category forumtd">
<td class="rowOne">&nbsp;</td>
<td class="rowTwo">论坛</td>
<td class="rowThree">最后回复</td>
<td class="rowFour">帖子统计</td>
<td class="rowFive">&nbsp;</td>
</tr>
$c.Boards:{b|
<tr class="forumtd boardstyle$b.Id$">
<td class="rowOne">
$if(b.HasNew)$<img src="{IMGDIR}/board_hasnew.gif" alt="有新帖" /> $else$ <img src="{IMGDIR}/board_nonnew.gif" alt="无新帖" /> $endif$</td>
<td class="rowTwo">
<div>$if(b.HasIcon)$<a href="{url:board.aspx?boardid=$b.Id$}"><img src="{IMGDIR}/$b.Icon$" alt="$b.BoardName$" /></a>$endif$&nbsp;</div>
<span class="t3"><a href="{url:board.aspx?boardid=$b.Id$}">$b.BoardName$</a></span> $if(b.HasTodayNew)$<span class="small t1" title="今日新帖">($b.TodayPosts$)</span>$endif$ <br />
<p class="t2">$b.Description$</p></td>
<td class="rowThree">
<div>&rsaquo;&rsaquo;&nbsp;$if(b.HasLastTopic)$<a href="{url:topic.aspx?topicid=$b.LastTopicId$&page=65535}" title="最后回复：$if(b.HasLastTopic)$$b.LastTopicAuthor$$else$……$endif$">$b.LastTopicTitle$</a>$else$
……
$endif$<br />
&rsaquo;&rsaquo;&nbsp;$if(b.HasLastTopic)$<span class="t2 small">$b.LastTopicTime$</span>$else$
……
$endif$</div></td>
<td class="rowFour">
主题: <span>$b.Topics$</span><br />
回帖: <span>$b.Replies$</span></td>
<td class="rowFive">
<a href="###" title="子版" onclick="extend('child$b.Id$')"><img src="{IMGDIR}/icon/subclass.gif" alt="子版" /></a><br />
<a href="###" title="版主" onclick="extend('extend$b.Id$')"><img src="{IMGDIR}/icon/moderator.gif" alt="版主" /></a></td>
</tr>
<tr style="display:none;" class="forumtd" id="extend$b.Id$">
<td>&nbsp;</td>
<td colspan="4">
版主：$b.Moderators:{m|<span class="t5"><a href="{url:profile.aspx?uid=$m.UID$}">$m.Username$</a></span>&nbsp;}$</td>
</tr>
<tr style="display:none;" class="forumtd" id="child$b.Id$">
<td>&nbsp;</td>
<td colspan="4">
子版：$b.ChildBoards:{cb|<span class="t5">&rsaquo;&rsaquo; <a href="{url:board.aspx?boardid=$cb.Id$}">$cb.BoardName$</a></span>&nbsp;}$</td>
</tr>
}$
</table>
$endif$
$controls/tablefooter()$
}$
$if(ShowLink)$
$controls/tableheader(
Caption="友情链接",
ElementId="link"
)$
<table cellspacing="0" class="inner">
<tr class="forumtd">
<td class="rowOne"><img src="{IMGDIR}/forumlink.gif" alt="友情链接" /></td>
<td class="linkcol">$Link:{l| <a href="$l.Url$" target="_blank">$if(l.HasLogo)$<img src="$l.Logo$" alt="$l.Text$" />$else$$l.Text$$endif$</a> }$</td>
</tr>
</table>
$controls/tablefooter()$
$endif$
$if(ShowOnline)$
$controls/tableheader(

Caption="在线信息",
ElementId="online"
)$
<table cellspacing="0" class="inner">
<tr class="forumtd">
<td class="rowOne"><img src="{IMGDIR}/forumonline.gif" alt="在线信息" /></td>
<td class="online">
<p>当前约&nbsp;$OnlineTotal$&nbsp;人在线,&nbsp;$OnlineUsers$&nbsp;位会员,&nbsp;$OnlineGuests$&nbsp;位游客。历史最高在线&nbsp;$Statistic.MaxOnlines$&nbsp;人,发生在&nbsp;$Statistic.MaxOnlineTime$&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[&nbsp;<a href="{url:online.aspx}">在线列表</a>&nbsp;]</p>
<p>
在线图例：
$Group:{g| <img src="$g.Avatar$" /> $g.GroupName$&nbsp;&nbsp;
}$</p>
</td>
</tr>
<tr class="forumtd">
<td colspan="2">$if(ShowOnlineList)$$controls/cutline()$$endif$</td>
</tr>
</table>
$controls/tablefooter()$
$endif$
<div class="bottom">
<div class="left"><img src="{IMGDIR}/board_hasnew.gif" />有新帖版块<img src="{IMGDIR}/board_nonnew.gif" />无新帖版块<img src="{IMGDIR}/board_lock.gif" />已限制版块<img src="{IMGDIR}/board_chat.gif" />即时交流版块</div>
<div class="right"><a href="{url:abandon.aspx?action=removeall}">删除论坛Cookies</a> - <span class="t1"><a href="#" class="small">WAP</a></span> - <a href="#" class="small">TOP</a></div>
</div>
$controls/footer()$